package com.yjm.test.Spring5.ch3.methodReplacement;
import org.springframework.stereotype.Component;

@Component("standardTarget")
public class ReplacementTarget {
	public String formatMessage(String msg) {
		return "<h1>" + msg + "</h1>";
	}
	
	public String formatMessage(Object msg) {
		return "<h2>" + msg + "</h2>";
	}
}
